package com.vcc.service.boss.request.role;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Set;

@Data
@Getter
@Setter
public class BossRoleDto implements Serializable {

    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @NotNull(message = "角色权限不能为空")
    private Set<Long> permissions;

    @NotNull(message = "是否拥有所有数据不能为空")
    private Boolean hasAllData;

}
